package org.hive.vmware.client;

import org.hive.vmware.client.ui.MainPage;

import com.google.gwt.core.client.EntryPoint;
import com.google.gwt.user.client.ui.RootPanel;

/**
 * Entry point classes define <code>onModuleLoad()</code>.
 */
public class Vmwarehive implements EntryPoint {
	
	/**
	 * This is the entry point method.
	 */
	public void onModuleLoad() {
		RootPanel rootPanel = RootPanel.get("paneltab");		
		rootPanel.add(createMainPage());	
	}

	private MainPage createMainPage() {
		MainPage main = new MainPage();
		main.setBorders(false);
		main.setBodyBorder(false);
		main.setHeaderVisible(false);
		main.setWidth(800);
		return main;
	}
}
